package com.che.software.testato.domain.entity;

import java.io.Serializable;
import java.util.List;

/**
 * Class representing an activity.
 * 
 * @author Clement HELIOU (clement.heliou@che-software.com).
 * @copyright Che Software.
 * @license GNU General Public License.
 * @see Serializable
 * @since July, 2011.
 * 
 *        This file is part of Testato.
 * 
 *        Testato is free software: you can redistribute it and/or modify it
 *        under the terms of the GNU General Public License as published by the
 *        Free Software Foundation, either version 3 of the License, or (at your
 *        option) any later version.
 * 
 *        Testato is distributed in the hope that it will be useful, but WITHOUT
 *        ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 *        FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
 *        for more details.
 * 
 *        You should have received a copy of the GNU General Public License
 *        along with Testato. If not, see <http://www.gnu.org/licenses/>.
 * 
 *        Testato's logo is a creation of Arrioch
 *        (http://arrioch.deviantart.com/) and it's distributed under the terms
 *        of the Creative Commons License.
 */
public class Activity implements Serializable {

	/**
	 * Constants.
	 */
	private static final long serialVersionUID = -4461044852498568080L;

	/**
	 * Members.
	 */
	private int activityId;
	private List<ActivityAction> actions;
	private List<ActivityParameter> parameters;
	private String globalDescription, label;

	/**
	 * Getter for the private field value activityId.
	 * 
	 * @return the activityId field value.
	 */
	public int getActivityId() {
		return activityId;
	}

	/**
	 * Setting a value to the activityId field.
	 * 
	 * @param activityId the value to set.
	 */
	public void setActivityId(int activityId) {
		this.activityId = activityId;
	}

	/**
	 * Getter for the private field value actions.
	 * 
	 * @return the actions field value.
	 */
	public List<ActivityAction> getActions() {
		return actions;
	}

	/**
	 * Setting a value to the actions field.
	 * 
	 * @param actions the value to set.
	 */
	public void setActions(List<ActivityAction> actions) {
		this.actions = actions;
	}

	/**
	 * Getter for the private field value parameters.
	 * 
	 * @return the parameters field value.
	 */
	public List<ActivityParameter> getParameters() {
		return parameters;
	}

	/**
	 * Setting a value to the parameters field.
	 * 
	 * @param parameters the value to set.
	 */
	public void setParameters(List<ActivityParameter> parameters) {
		this.parameters = parameters;
	}

	/**
	 * Getter for the private field value globalDescription.
	 * 
	 * @return the globalDescription field value.
	 */
	public String getGlobalDescription() {
		return globalDescription;
	}

	/**
	 * Setting a value to the globalDescription field.
	 * 
	 * @param globalDescription the value to set.
	 */
	public void setGlobalDescription(String globalDescription) {
		this.globalDescription = globalDescription;
	}

	/**
	 * Getter for the private field value label.
	 * 
	 * @return the label field value.
	 */
	public String getLabel() {
		return label;
	}

	/**
	 * Setting a value to the label field.
	 * 
	 * @param label the value to set.
	 */
	public void setLabel(String label) {
		this.label = label;
	}
}